package com.hp.beanstalk;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
/**
 * 描述:
 *
 * @author qiu
 * @date 2023/4/13 14:18
 */
@Component
public class BeanStalkProperties {
 
    @Value("${beanstalk.host}")
    private String host;
 
    @Value("${beanstalk.port}")
    private Integer port;

    @Value("${beanstalk.producer.tube}")
    private String tube;
 
    public String getHost() {
        return host;
    }
 
    public void setHost(String host) {
        this.host = host;
    }
 
    public Integer getPort() {
        return port;
    }
 
    public void setPort(Integer port) {
        this.port = port;
    }

    public String getTube() {
        return tube;
    }

    public void setTube(String tube) {
        this.tube = tube;
    }
}